package com.threegroup.admin.service;

import com.threegroup.admin.dto.SysMenuDTO;
import com.threegroup.admin.security.user.SecurityUser;

import java.util.List;
import java.util.Set;

public interface ISysMenuService {

    /**
     * 用户菜单列表
     *
     * @param user  用户
     * @param type 菜单类型
     */
    List<SysMenuDTO> getUserMenuList(SecurityUser user, Integer type);

    /**
     * 获取权限信息
     * @param user 用户
     * @return
     */
    Set<String> getUserPermission(SecurityUser user);
}
